<template>
  <div>
    <div>这里是详情</div>
    <p>下面是收到的信息</p>
    <h1>guid:{{guid}}</h1>
    <ul>
      <li v-for="item in items">{{item.Name}}</li>
    </ul>
  </div>
</template>

<script>
  export default {
    name: "artical-detail",
    data() {
      return {
        guid: this.$route.query.guid,
        items:[]
      }
    },
    created() {
      // alert(this.$route.query.guid);
      // this.$http.get('/api/goods').then((data) => {
      //   this.items = data.body.data;
     //
        this.$http.get('http://211.149.221.44:2074/apiv1/judger').then(data=>{
          this.items=data.body.data;
          console.log(this.items);
        });
    }

  }
</script>

<style scoped>

</style>
